import { _decorator, Component, SubContextView } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('UIRankFriend')
export class UIRankFriend extends Component {

    
    @property({ type: SubContextView, tooltip: '子域视图' })
    subContextView: SubContextView = null;
    

    protected start(): void {
        this.scheduleOnce(() => {
            this.subContextView.enabled = true;
        }, 1);
    }

    onBtnClose() {
        this.subContextView.enabled = false;

    }

}

